package com.laiyizhan.common.exception;

/**
 * 签名错误的异常
 * Created by folie on 2016/12/24.
 */
public class VerifySignatureException extends RuntimeException {

    private String errCode;
    private String errMsg;

    /**
     * Gets err code.
     *
     * @return the err code
     */
    public String getErrCode() {
        return errCode;
    }

    /**
     * Gets err msg.
     *
     * @return the err msg
     */
    public String getErrMsg() {
        return errMsg;
    }

    public VerifySignatureException(String message) {
        super(message);
    }

    public VerifySignatureException(String errCode, String errMsg) {
        super(errMsg);
        this.errCode = errCode;
        this.errMsg = errMsg;
    }

}
